<script>
	export default {
		onLaunch: function() {
			this.init();
		},
		onShow: function() {

		},
		onHide: function() {

		},
		methods: {
			async init() {
				await this.getAreaData()
			},
			getAreaData() {
				return new Promise((resolve, reject) => {
					this.$store.dispatch('getAreaData')
					resolve()
				})
			}
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "@/uni_modules/uview-ui/index.scss";
	@import "common/demo.scss";
	
	@import "static/css/common.scss";
	@import "static/css/flex.scss";
	
</style>
